package cn.yiyuan.auth.mapper;

import cn.yiyuan.auth.entity.DepEntity;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.List;

/**
 * @user m
 * @project Car_mall_system
 * @date 2023-12-26
 * @package cn.yiyuan.auth.mapper
 */
@Mapper
public interface DepMapper {

    //增
    void  insert (DepEntity depEntity);
    //删
    void delete (Serializable id);
    //改
    void  update (DepEntity depEntity);
    //根据id查
    DepEntity getById(Serializable id);
    //查询所有
    List<DepEntity> getAll();

}
